package com.chtw.vuedemo.service.inf;

import com.chtw.vuedemo.bean.News;

import java.util.List;

/**
 * @author chtw
 * @date 2020-10-04 14:18
 */
public interface NewsService {
    List<News> list();
    News getById(int id);
}
